/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package codigoJava;

import java.util.HashMap;
import java.util.Map;
/**
 *
 * @author CACEDA
 */
public class ObjetoBD {
     private String tabla;
    private Map<String,String> campos;
     private Integer id;

     public ObjetoBD()
     {
         campos = new HashMap<String, String>();
     }
     
    public Map<String, String> getCampos() {
        return campos;
    }

    public void setCampos(Map<String, String> campos) {
        this.campos = campos;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTabla() {
        return tabla;
    }

    public void setTabla(String tabla) {
        this.tabla = tabla;
    }
    public void addCampo(String key, String valor)
    {
        this.campos.put(key, valor);
    }
    
}

